By using the configured table mappings of ConfigurationFirstDiamantDao<TEntity, TDataContext, TDataCommand, OnGetMappings, this inversion control method automatically produces an SQL SELECT command that handles the request to configure a read command for all entities in the segment defined by Paging from the underlying relational data store.

Read entities are sorted according to the OrderBy criteria.

Namespace: Keystone.Carbonite.Diamant.MySql
Assembly: Keystone.Carbonite.Diamant.MySql (in Keystone.Carbonite.Diamant.MySql.dll)

protected override void OnConfigureSelectCommand( 
MySqlCommand command
OrderBy orderingCriteria
Paging pagingCriteria 
)
This language is not supported or no code example is available.

Parameters

command

Type: MySqlCommand

The command to configure.

orderingCriteria

Type: OrderBy

The entity to read ordering criteria.

pagingCriteria

Type: Paging

The entity to read paging criteria.

Windows, Windows Server, OS X, macOS, iOS, tvOS, Android, Linux, AWS, Azure

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 4.6

Others

Xamarin, Mono